package com.market.service.impl;

import com.market.entity.TakeStock;
import com.market.mapper.TakeStockMapper;
import com.market.service.TakeStockService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class TakeStockServiceImpl implements TakeStockService {
    @Resource
    TakeStockMapper takeStockMapper;
    @Override
    public List<TakeStock> findTakeStock() {
        List<TakeStock> takeStockList = takeStockMapper.selectTakeStockList();
         return takeStockList;
    }
}
